<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@page import="java.util.Vector"%>
<%@page import="model.*"%>
<jsp:useBean id="util" class="model.UtilForm" scope="session"></jsp:useBean>

<html:html xhtml="true" lang="true">
<head>
<title><bean:message key="welcome.title"/></title>
<html:base/>
</head>
<body>

<%
		  Vector acao =(Vector) util.getVecacao();
			System.out.println("tamanho do vetor de acao"+acao.size());
		  for(int i =0 ;i < acao.size();i++ ) 
		  {
			AcaoForm acaobean = (AcaoForm)acao.get(i);
		%>
            <html:link action="<%=acaobean.getAction()%>"><bean:message key="<%=acaobean.getKey()%>"/></html:link>
            <br>
            <%} %>
</body>
</html:html>